var express = require('express');
var router = express.Router();

/* GET home page. */
router.get('/', function(req, res, next) {
  	res.render('index', { title: 'Express' });
});

/* 检查微信Token */
router.get('/checkToken', function(req, res, next) {
	console.log(req.query)
  	res.send('OK');
});

router.get('/*', function(req, res, next) {
  	res.render('index', { title: '转发' });
});


module.exports = router;
